package com.judian.smart.constant;

import com.judian.smart.base.MyApplication;

import java.io.File;

/**
 * author: Peter
 * date: 2019/08/05 星期一 18:30
 * desc:
 */
public class Constants {
    public static final String APP_PATH = android.os.Environment
            .getExternalStorageDirectory().getAbsolutePath()
            + File.separator
            + "AIUI";
    public static final String CACHE_DIR = MyApplication.getInstance().getRootPath() + "/image/cache";
    public static final String REMOTE_PATH = APP_PATH + File.separator + "cfg";
    public final static String ACTION_SLEEP = "com.dst.smart.action.SLEEP";
    public final static String ACTION_REPLAY = "com.dst.smart.action.REPLAY";
    public static final String CHNIES = "http://112.74.56.95:99/";
    public static String HTTPS = "http://112.74.56.95:99/";
    public static String PICTUREHTTPS = "http://112.74.56.95:99/";
    //	public static final String HTTPS = "http://www.zunder.cn:99/";
    public static final String MODEIMAGEPATH = "ImagesFile/Picture/2018080315113921.png";
    public static final String PROCASEIMAGEPATH = "ImagesFile/Picture/2018080615304882.png";
    public static final String ROOMIMAGEPATH = "ImagesFile/Picture/2018080711533106.png";
    public static final String GATEWAYMIMAGEPATH = "ImagesFile/Picture/2018071815070831.png";

    public static final String CENTER0 = "http://112.74.56.95:99/ImagesFile/Picture/2018090315304080.png";
    public static final String CENTER1 = "http://112.74.56.95:99/ImagesFile/Picture/2018090315304081.png";
    public static final String CENTER2 = "http://112.74.56.95:99/ImagesFile/Picture/2018090315304082.png";
    public static final String CENTER3 = "http://112.74.56.95:99/ImagesFile/Picture/2018090315304083.png";
    public static final String CENTER4 = "http://112.74.56.95:99/ImagesFile/Picture/2018090315304084.png";
    public static final String CENTER5 = "http://112.74.56.95:99/ImagesFile/Picture/2018090315304085.png";
    public static final String CENTER6 = "http://112.74.56.95:99/ImagesFile/Picture/2018090315304086.png";
    public static final String CENTER7 = "http://112.74.56.95:99/ImagesFile/Picture/2018090315304087.png";
    public static final String CENTER8 = "http://112.74.56.95:99/ImagesFile/Picture/2018090315304088.png";
    public static final String CENTER9 = "http://112.74.56.95:99/ImagesFile/Picture/2018090315304089.png";
    public static final String CENTER10 = "http://112.74.56.95:99/ImagesFile/Picture/2018090315304090.png";
    public static final String CENTER11 = "http://112.74.56.95:99/ImagesFile/Picture/2018090315304091.png";
    public static final String CENTER12 = "http://112.74.56.95:99/ImagesFile/Picture/2018090315304092.png";
    public static final String CENTER13 = "http://112.74.56.95:99/ImagesFile/Picture/2018090315304093.png";
    public static final String CENTER14 = "http://112.74.56.95:99/ImagesFile/Picture/2018090315304094.png";
    public static final String CENTER15 = "http://112.74.56.95:99/ImagesFile/Picture/2018090315304095.png";
    public static final String CENTER16 = "http://112.74.56.95:99/ImagesFile/Picture/2018090315304096.png";
    public static final String CENTER17 = "http://112.74.56.95:99/ImagesFile/Picture/2018090315304097.png";

    public final static String WAV_PATH = "wav/";
    public final static String XIAOAI_GREETING_EWZN = WAV_PATH + "xiaoai_greeting_ewzn.mp3";
    public final static String XIAOAI_GREETING_GS = WAV_PATH + "xiaoai_greeting_gs.mp3";
    public final static String XIAOAI_GREETING_SS = WAV_PATH + "xiaoai_greeting_ss.mp3";
    public final static String XIAOAI_GREETING_WTZN = WAV_PATH + "xiaoai_greeting_wtzn.mp3";
    public final static String XIAOAI_GOODBYE_NWZL = WAV_PATH + "xiaoai_goodbye_nwzl.mp3";
    public final static String SEARCH_RESULT = WAV_PATH + "search_result.mp3";

    public static final String MORNING = "http://112.74.56.95:99/File/Music/morning.mp3";
    public static final String LAUNCH = "http://112.74.56.95:99/File/Music/lunch.mp3";
    public static final String EVENING = "http://112.74.56.95:99/File/Music/evening.mp3";

    public static final int _Port_ = 2020;
    public static final int _Port = 2020;
    public static final int HOME = 2;
    public static final int SECENE = 1;
    public static final int DEVICE = 0;

    public static int roomId = 0;

    public static final int FILTER_SAFE = 1 | 18;

    // 语音控制设备
    public static final int CMD_CONTROL_SPEECH = 0;
    // 手动控制设备
    public static final int CMD_CONTROL_MANUAL = 1;
    ///无类型
    public static final int DEVICE_TYPE_NULL = 0;
    ///灯光
    public static final int DEVICE_TYPE_LIGHT = 1;
    ///窗帘
    public static final int DEVICE_TYPE_CURTAIN = 2;
    ///插座
    public static final int DEVICE_TYPE_SOCKET = 3;
    ///空调
    public static final int DEVICE_TYPE_CONDITIONING = 4;
    ///电视
    public static final int DEVICE_TYPE_TV = 5;
    ///红外
    public static final int DEVICE_TYPE_INFRARED = 6;
    ///调光
    public static final int DEVICE_TYPE_DIMMER = 7;
    ///音乐
    public static final int DEVICE_TYPE_MUSIC = 8;
    ///情景
    public static final int DEVICE_TYPE_SCENEPANEL = 9;
    ///电子锁
    public static final int DEVICE_TYPE_LOCK = 10;
    ///投影仪
    public static final int DEVICE_TYPE_PROJECTOR = 11;
    ///智能空开
    public static final int DEVICE_TYPE_INTELLIGENTOPEN = 12;
    ///时序开关
    public static final int DEVICE_TYPE_TIMESOCKET = 13;
    ///新风系统
    public static final int DEVICE_TYPE_FRESHAIRSYSTEM = 14;
    ///家电
    public static final int DEVICE_TYPE_ELECTRICAL = 15;
    ///智能传感
    public static final int DEVICE_TYPE_SENCER = 16;
    ///人员计数
    public static final int DEVICE_TYPE_STATISTICS = 17;
    ///安防
    public static final int DEVICE_TYPE_SECURITY = 18;
    ///频道
    public static final int DEVICE_TYPE_CHANNEL = 19;
    ///快捷控制
    public static final int DEVICE_TYPE_QUICKCONTROL = 20;

    // 0表示当前需要切换专案 1表示当前不需要切换专案
    public static int isCheckProject = 1;

    // 当前专案的下载链接
    public static String path = "";

    // 当前专案的名称
    public static String projectName = "";

}
